﻿using Cms.Domain;
using iLib.Web.Mvc;

namespace Cms.Application.Admin.Views
{
    public interface ILoginView : IBaseView, ITranslatable
    {
        string Username { get; set; }

        string Password { get; set; }

        string AutoLoginEncryptedCredentials { get; }

        string SavedEncryptedCredentials { get; }

        string RequestedDomain { get; }

        bool RememberCredentials { get; set; }

        void Login(Administrator administrator);

        void ConfigureFirstSite(Administrator administrator);

        void DisplayErrorAndPromptForNewLogin();
    }
}